package com.example.photograph.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.example.photograph.common.annotation.Excel;
import com.example.photograph.common.core.domain.BaseEntity;

/**
 * 学院管理对象 sys_school
 * 
 * @author ruoyi
 * @date 2021-05-01
 */
public class SysSchool extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学院id */
    private Long id;

    /** 学院名称 */
    @Excel(name = "学院名称")
    private String schooLname;

    /** 学院权重 */
    @Excel(name = "学院权重")
    private Long majorWeight;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSchooLname(String schooLname) 
    {
        this.schooLname = schooLname;
    }

    public String getSchooLname() 
    {
        return schooLname;
    }
    public void setMajorWeight(Long majorWeight) 
    {
        this.majorWeight = majorWeight;
    }

    public Long getMajorWeight() 
    {
        return majorWeight;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("schooLname", getSchooLname())
            .append("majorWeight", getMajorWeight())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
